package com.example.net.bean;

/**
 * 创建者     ZCL
 * 创建时间   2018/3/15 14:29
 * 描述	      ${TODO}
 * <p>
 * 更新者     $Author$
 * 更新时间   $Date$
 * 更新描述   ${TODO}
 */

public class GithubBean {
    /**
     * timeline_url : https://github.com/timeline
     * user_url : https://github.com/{user}
     * _links : {"timeline":{"href":"https://github.com/timeline","type":"application/atom+xml"},"user":{"href":"https://github.com/{user}","type":"application/atom+xml"}}
     */

    private String timeline_url;
    private String    user_url;
    private LinksBean _links;

    public String getTimeline_url() {
        return timeline_url;
    }

    public void setTimeline_url(String timeline_url) {
        this.timeline_url = timeline_url;
    }

    public String getUser_url() {
        return user_url;
    }

    public void setUser_url(String user_url) {
        this.user_url = user_url;
    }

    public LinksBean get_links() {
        return _links;
    }

    public void set_links(LinksBean _links) {
        this._links = _links;
    }

    public static class LinksBean {
        /**
         * timeline : {"href":"https://github.com/timeline","type":"application/atom+xml"}
         * user : {"href":"https://github.com/{user}","type":"application/atom+xml"}
         */

        private TimelineBean timeline;
        private UserBean user;

        public TimelineBean getTimeline() {
            return timeline;
        }

        public void setTimeline(TimelineBean timeline) {
            this.timeline = timeline;
        }

        public UserBean getUser() {
            return user;
        }

        public void setUser(UserBean user) {
            this.user = user;
        }

        public static class TimelineBean {
            /**
             * href : https://github.com/timeline
             * type : application/atom+xml
             */

            private String href;
            private String type;

            public String getHref() {
                return href;
            }

            public void setHref(String href) {
                this.href = href;
            }

            public String getType() {
                return type;
            }

            public void setType(String type) {
                this.type = type;
            }
        }

        public static class UserBean {
            /**
             * href : https://github.com/{user}
             * type : application/atom+xml
             */

            private String href;
            private String type;

            public String getHref() {
                return href;
            }

            public void setHref(String href) {
                this.href = href;
            }

            public String getType() {
                return type;
            }

            public void setType(String type) {
                this.type = type;
            }
        }
    }


}
